﻿using Microsoft.Extensions.Configuration;

namespace LocalTest.Utils;

public static class AppSettings
{
    public static IConfiguration Configuration { get; }

    static AppSettings()
    {
        ConfigurationBuilder builder = new();
        builder.AddJsonFile("appsettings.json").SetBasePath(Directory.GetCurrentDirectory());
        Configuration = builder.Build();
    }
}